%% js
var a = 3;
const c = 123;

class MyClass {
    constructor(num) {
        this.num = num;
    }
}

function bla(){
    var nested = 3;
    return 5;
}

bla()
%% js
const firstCellContent = runtime.content.cells[0].textContent;
runtime.exports.core.precompileJavascriptCode(firstCellContent);
%% js
runtime.exports.core.notebookContentToText(runtime.content);